package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;

import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class DecryptModelDTO extends ProjectIdDTO {
    @NotBlank(message = ParamErrorConstants.NO_INSTANCE_ID)
    @Schema(title = "已被封装模型id")
    private String encryptedModelId;

    @Schema(title = "私钥")
    private String privateKey;

}
